package facade.p02;
public class CheckWord {
	public final int	basicAmount	= 85;
	String				advertisement;
	int					amount;
	public CheckWord(String advertisement) {
		this.advertisement = advertisement;
	}
	public void setChargeAmount() {
		amount = advertisement.length() + basicAmount; // 计算出计费字符数目
	}
	public int getAmount() {
		return amount;
	}
}
